import request from './request.js'

// 商家介绍
function getShopDesc({openid}) {
	return request({
		url: '/forshop/shop',
		method: 'post',
		data: {
			openid
		}
	})
}

// 商品数据
function getGoodsList({openid}) {
	return request({
		url: '/forshop/getdishes',
		method: 'post',
		data: {
			openid
		}
	})
}

// 评论数据
function getCommentList({openid}) {
	return request({
		url: '/message/discuss',
		method: 'post',
		data: {
			merchantid: openid
		}
	})
}

export {
	getShopDesc,
	getGoodsList,
	getCommentList
}
